import Home from '../components/Home'
import Cate from '../components/Cate'
import User from '../components/User'
import News from '../components/News'
import phone from '../components/Product/goods/phone'
import Product from '../components/Product/main'
import book from '../components/Product/goods/book'
import clothes from '../components/Product/goods/clothes'
import add from '../components/Product/goods/add'
import all from '../components/Product/goods/all'

export const routes = [
	{ path:'/',component:Home },
    { path:'/cate',component:Cate },
    { path:'/user',component:User },
    { path:'/news',component:News },
    { path:'/Product',components:{
		default:Product,
	},children:[
			{path:'/',component:all},
			{path:'/phone',component:phone},
			{path:'/book',component:book},
			{path:'/clothes',component:clothes},
			{path:'/add',component:add},
			{path:'/all',component:all},
		] 
	}
];